Revision: wmaker--cvs--0--patch-614
Archive: voins@altlinux.ru--2004-wmaker
Creator: Dan Pascu <dan@windowmaker.org>
Date: Thu Oct 28 15:05:52 MSD 2004
Standard-date: 2004-10-28 11:05:52 GMT
Modified-files: wrlib/gradient.c
New-patches: voins@altlinux.ru--2004-wmaker/wmaker--cvs--0--patch-614
Summary: Fixed the mdgradient code.
CSCVSID: MAIN.615
Keywords: cscvs:MAIN-615

Author: dan
Date: 2000/05/24 22:47:54
Fixed the mdgradient code.

P.S. Please, that piece of code is perfectly valid, there's no need to
break it every month. There is nothing wrong with it, still it was
changed (and simultaneously broken) 4 or 5 times already.
That code use a smart trick to draw the multi diagonal gradient using
integer operations, that is perfectly valid and moreover is much faster
than the classical floating point calculation algorithm that was used
before, so there is no need to randomly 'fix' it every now and then.
If you don't understand how it works please ask.
